#pragma once
#include "ckMatrix.h"

namespace ck
{
	namespace data
	{
		class ZRASTER_API MatrixD : public Matrix
		{
		public:
			MatrixD();
			virtual ~MatrixD();

		public:
			double*		GetData();
			double*		GetDataPtr(z_uint32 i, z_uint32 j);
			double		GetValue(z_uint32 i, z_uint32 j);

			double		Sum();
			RESULTCODE	Standardize();

			double		GetMeanX();
			double		GetMeanY();
			double		GetVarianceX();
			double		GetVarianceY();

		protected:
			double*		m_data;
		};

	}
}

